package com.ruoyi.project.qyxy.persondtl.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.qyxy.persondtl.mapper.QuaPersonSocreDetailMapper;
import com.ruoyi.project.qyxy.persondtl.domain.QuaPersonSocreDetail;
import com.ruoyi.project.qyxy.persondtl.service.IQuaPersonSocreDetailService;

/**
 * 资质人员详细得分信息Service业务层处理
 * 
 * @author lcl
 * @date 2021-03-11
 */
@Service
public class QuaPersonSocreDetailServiceImpl implements IQuaPersonSocreDetailService 
{
    @Autowired
    private QuaPersonSocreDetailMapper quaPersonSocreDetailMapper;

    /**
     * 查询资质人员详细得分信息
     * 
     * @param detailId 资质人员详细得分信息ID
     * @return 资质人员详细得分信息
     */
    @Override
    public QuaPersonSocreDetail selectQuaPersonSocreDetailById(Long detailId)
    {
        return quaPersonSocreDetailMapper.selectQuaPersonSocreDetailById(detailId);
    }

    /**
     * 查询资质人员详细得分信息列表
     * 
     * @param quaPersonSocreDetail 资质人员详细得分信息
     * @return 资质人员详细得分信息
     */
    @Override
    public List<QuaPersonSocreDetail> selectQuaPersonSocreDetailList(QuaPersonSocreDetail quaPersonSocreDetail)
    {
        return quaPersonSocreDetailMapper.selectQuaPersonSocreDetailList(quaPersonSocreDetail);
    }

    /**
     * 新增资质人员详细得分信息
     * 
     * @param quaPersonSocreDetail 资质人员详细得分信息
     * @return 结果
     */
    @Override
    public int insertQuaPersonSocreDetail(QuaPersonSocreDetail quaPersonSocreDetail)
    {
        return quaPersonSocreDetailMapper.insertQuaPersonSocreDetail(quaPersonSocreDetail);
    }

    /**
     * 修改资质人员详细得分信息
     * 
     * @param quaPersonSocreDetail 资质人员详细得分信息
     * @return 结果
     */
    @Override
    public int updateQuaPersonSocreDetail(QuaPersonSocreDetail quaPersonSocreDetail)
    {
        return quaPersonSocreDetailMapper.updateQuaPersonSocreDetail(quaPersonSocreDetail);
    }

    /**
     * 批量删除资质人员详细得分信息
     * 
     * @param detailIds 需要删除的资质人员详细得分信息ID
     * @return 结果
     */
    @Override
    public int deleteQuaPersonSocreDetailByIds(Long[] detailIds)
    {
        return quaPersonSocreDetailMapper.deleteQuaPersonSocreDetailByIds(detailIds);
    }

    /**
     * 删除资质人员详细得分信息信息
     * 
     * @param detailId 资质人员详细得分信息ID
     * @return 结果
     */
    @Override
    public int deleteQuaPersonSocreDetailById(Long detailId)
    {
        return quaPersonSocreDetailMapper.deleteQuaPersonSocreDetailById(detailId);
    }
}
